DSA Interview Preparation 2025
๐ฏ Strategy to Crack 80-90% Interviewsโ
This curated list covers 180 problems across key patterns that appear in 80-90% of coding interviews at FAANG and top tech companies. Focus on understanding patterns rather than memorizing solutions.
๐ Coverage Statisticsโ
| Category | Problems | Priority | Time to Master |
|---|---|---|---|
| Arrays & Strings | 25 | ๐ด Critical | 2 weeks |
| Two Pointers | 12 | ๐ด Critical | 1 week |
| Sliding Window | 10 | ๐ด Critical | 1 week |
| Hash Tables | 12 | ๐ด Critical | 1 week |
| Binary Search | 10 | ๐ก High | 1 week |
| Linked Lists | 10 | ๐ก High | 1 week |
| Trees & BST | 15 | ๐ด Critical | 2 weeks |
| Graphs | 12 | ๐ก High | 1.5 weeks |
| Dynamic Programming | 22 | ๐ด Critical | 3 weeks |
| Backtracking | 8 | ๐ข Medium | 1 week |
| Heaps/Priority Queue | 12 | ๐ด Critical | 1 week |
| Stack & Queue | 10 | ๐ก High | 1 week |
| Trie | 8 | ๐ก High | 1 week |
| Intervals | 10 | ๐ด Critical | 1 week |
| Bit Manipulation | 6 | ๐ข Medium | 3 days |
Total Time: 10-12 weeks with consistent practice (2-3 hours/day)
1๏ธโฃ Arrays & Strings (25 Problems) ๐ดโ
Must-Do (Core)โ
- Two Sum - Hash map basics
- Best Time to Buy and Sell Stock - Single pass optimization
- Contains Duplicate - Set usage
- Product of Array Except Self - Prefix/suffix arrays
- Maximum Subarray (Kadane's Algorithm) - DP introduction
- Maximum Product Subarray - DP variation
- Find Minimum in Rotated Sorted Array - Modified binary search
- Search in Rotated Sorted Array - Binary search variation
- Container With Most Water - Two pointers
- 3Sum - Two pointers + sorting
Importantโ
- Longest Substring Without Repeating Characters - Sliding window
- Minimum Window Substring - Sliding window advanced
- Valid Anagram - Hash map
- Group Anagrams - Hash map + sorting
- Longest Palindromic Substring - Expand from center
- Encode and Decode Strings (Premium) - String manipulation
- Rotate Image - Matrix manipulation
- Spiral Matrix - Matrix traversal
- Set Matrix Zeroes - In-place modification
- Word Search - Backtracking on matrix
Nice to Haveโ
- Missing Number - XOR/Math trick
- Find All Numbers Disappeared in Array - Index marking
- Next Permutation - Array manipulation
- String to Integer (atoi) - String parsing
- Longest Common Prefix - String comparison
Key Patterns: Two pointers, sliding window, prefix sums, Kadane's algorithm
2๏ธโฃ Two Pointers (12 Problems) ๐ดโ
Must-Doโ
- Valid Palindrome - Basic two pointers
- Two Sum II - Input Array Is Sorted - Two pointers on sorted array
- 3Sum - Two pointers with loop
- Container With Most Water - Greedy two pointers
- Remove Duplicates from Sorted Array - In-place modification
Importantโ
- Remove Nth Node From End of List - Fast/slow pointers
- Linked List Cycle - Fast/slow pointers (Floyd's)
- Valid Palindrome II - Two pointers with modification
- Move Zeroes - Two pointers swap
- Sort Colors - Dutch National Flag
Nice to Haveโ
- Partition Labels - Greedy + two pointers
- Backspace String Compare - Two pointers from end
Key Patterns: Fast/slow pointers, left/right pointers, collision technique
3๏ธโฃ Sliding Window (10 Problems) ๐ดโ
Must-Doโ
- Maximum Average Subarray I - Fixed size window
- Longest Substring Without Repeating Characters - Variable window
- Minimum Window Substring - Complex variable window
- Longest Repeating Character Replacement - Window with condition
- Permutation in String - Fixed window pattern matching
Importantโ
- Find All Anagrams in a String - Fixed window + hash map
- Longest Substring with At Most K Distinct Characters (Premium) - Variable window
- Fruit Into Baskets - At most 2 distinct
- Minimum Size Subarray Sum - Variable window with target
Nice to Haveโ
- Sliding Window Maximum - Deque optimization
Key Patterns: Fixed window, variable window, shrinking/expanding technique
4๏ธโฃ Hash Tables (12 Problems) ๐ดโ
Must-Doโ
- Two Sum - Basic hash map
- Group Anagrams - Hash map with key transformation
- Top K Frequent Elements - Hash map + heap/bucket sort
- Valid Anagram - Frequency map
- Ransom Note - Character counting
Importantโ
- Longest Consecutive Sequence - Hash set O(n)
- Subarray Sum Equals K - Prefix sum + hash map
- 4Sum II - Multiple hash maps
- Isomorphic Strings - Bidirectional mapping
- Word Pattern - Hash map pattern matching
Nice to Haveโ
- Design HashMap - Implementation
- LRU Cache - Hash map + doubly linked list
Key Patterns: Frequency counting, prefix sums, bidirectional mappings
5๏ธโฃ Binary Search (10 Problems) ๐กโ
Must-Doโ
- Binary Search - Template
- Search in Rotated Sorted Array - Modified binary search
- Find Minimum in Rotated Sorted Array - Peak finding
- Search a 2D Matrix - 2D binary search
- Koko Eating Bananas - Binary search on answer
Importantโ
- Find First and Last Position of Element in Sorted Array - Binary search boundaries
- Search Insert Position - Lower bound
- Valid Perfect Square - Math + binary search
- Find Peak Element - Peak finding
Nice to Haveโ
- Median of Two Sorted Arrays - Advanced binary search
Key Patterns: Classic binary search, search on answer space, boundary conditions
6๏ธโฃ Linked Lists (10 Problems) ๐กโ
Must-Doโ
- Reverse Linked List - Iterative and recursive
- Merge Two Sorted Lists - Basic merge
- Linked List Cycle - Fast/slow pointers
- Remove Nth Node From End of List - Two pointers
- Reorder List - Multiple techniques combined
Importantโ
- Middle of the Linked List - Fast/slow pointers
- Palindrome Linked List - Reverse + compare
- Merge K Sorted Lists - Heap/divide & conquer
- Add Two Numbers - Linked list arithmetic
- Copy List with Random Pointer - Hash map for deep copy
Key Patterns: Fast/slow pointers, dummy nodes, in-place reversal
7๏ธโฃ Trees & Binary Search Trees (15 Problems) ๐ดโ
Must-Doโ
- Maximum Depth of Binary Tree - Basic recursion
- Same Tree - Tree comparison
- Invert Binary Tree - Tree manipulation
- Binary Tree Level Order Traversal - BFS
- Validate Binary Search Tree - BST property
- Lowest Common Ancestor of a Binary Search Tree - BST traversal
- Subtree of Another Tree - Tree matching
Importantโ
- Kth Smallest Element in a BST - Inorder traversal
- Construct Binary Tree from Preorder and Inorder Traversal - Tree construction
- Binary Tree Maximum Path Sum - Complex recursion
- Serialize and Deserialize Binary Tree - Tree encoding
- Count Good Nodes in Binary Tree - Tree traversal with state
Nice to Haveโ
- Binary Tree Right Side View - Level order variant
- Diameter of Binary Tree - Recursive depth
- Lowest Common Ancestor of a Binary Tree - LCA in general tree
Key Patterns: DFS, BFS, recursion with state, tree properties
8๏ธโฃ Graphs (12 Problems) ๐กโ
Must-Doโ
- Number of Islands - DFS/BFS on grid
- Clone Graph - Graph traversal + cloning
- Pacific Atlantic Water Flow - Multi-source DFS/BFS
- Course Schedule - Cycle detection (topological sort)
- Course Schedule II - Topological sort implementation
Importantโ
- Graph Valid Tree (Premium) - Cycle detection + connectivity
- Number of Connected Components in an Undirected Graph (Premium) - Union-Find/DFS
- Word Ladder - BFS shortest path
- Longest Increasing Path in a Matrix - DFS + memoization
- Surrounded Regions - Boundary DFS/BFS
Nice to Haveโ
- Network Delay Time - Dijkstra's algorithm
- Cheapest Flights Within K Stops - Modified Dijkstra/Bellman-Ford
Key Patterns: DFS, BFS, topological sort, Union-Find, shortest path
9๏ธโฃ Dynamic Programming (22 Problems) ๐ดโ
1D DP (Must-Do)โ
- Climbing Stairs - Basic DP introduction
- House Robber - 1D DP with constraint
- House Robber II - Circular array DP
- Longest Increasing Subsequence - Classic LIS
- Word Break - String DP
- Coin Change - Unbounded knapsack
- Maximum Product Subarray - State tracking DP
- Decode Ways - String decoding DP
2D DP (Important)โ
- Unique Paths - 2D grid DP
- Longest Common Subsequence - 2D string DP
- Edit Distance - String transformation
- Best Time to Buy and Sell Stock with Cooldown - State machine DP
- Coin Change II - Count combinations
- Target Sum - Subset sum variant
- Partition Equal Subset Sum - 0/1 knapsack
- Palindromic Substrings - String DP
- Longest Palindromic Subsequence - 2D DP
Advanced (Nice to Have)โ
- Regular Expression Matching - Complex string DP
- Interleaving String - 2D string DP
- Distinct Subsequences - Counting DP
- Burst Balloons - Interval DP
- Palindrome Partitioning II - Partition DP
Key Patterns: 1D DP, 2D DP, knapsack, subsequences, state machines
๐ Backtracking (8 Problems) ๐ขโ
Must-Doโ
- Subsets - Power set generation
- Permutations - All permutations
- Combination Sum - Backtracking with reuse
- Word Search - 2D backtracking
- Palindrome Partitioning - String partitioning
Importantโ
- Letter Combinations of a Phone Number - String generation
- Generate Parentheses - Valid parentheses
- N-Queens - Classic backtracking
Key Patterns: DFS with backtracking, pruning, state restoration
1๏ธโฃ1๏ธโฃ Heaps / Priority Queue (12 Problems) ๐ดโ
Must-Do (Top K / Kth Largest/Smallest)โ
- Kth Largest Element in an Array - Quick select/heap
- Kth Smallest Element in a Sorted Matrix - Min heap
- Top K Frequent Elements - Heap + hash map
- K Closest Points to Origin - Max heap distance
- Find K Pairs with Smallest Sums - Min heap pairs
Importantโ
- Find Median from Data Stream - Two heaps (max + min)
- Merge K Sorted Lists - Heap merge
- Task Scheduler - Greedy + heap
- Reorganize String - Greedy + max heap
- Ugly Number II - Min heap generation
Nice to Haveโ
- Meeting Rooms II (Premium) - Min heap intervals
- IPO - Two heaps optimization
Key Patterns: Min/max heap, k-way merge, scheduling problems, median maintenance
1๏ธโฃ2๏ธโฃ Stack & Queue (10 Problems) ๐กโ
Must-Doโ
- Valid Parentheses - Stack basics
- Min Stack - Design problem
- Evaluate Reverse Polish Notation - Stack evaluation
- Daily Temperatures - Monotonic stack
- Largest Rectangle in Histogram - Monotonic stack advanced
Importantโ
- Implement Queue using Stacks - Design problem
- Decode String - Nested stack
- Asteroid Collision - Stack simulation
- Next Greater Element I - Monotonic stack
- Trapping Rain Water - Stack/Two pointers
Key Patterns: Monotonic stack, stack for parsing, simulation
1๏ธโฃ3๏ธโฃ Trie (Prefix Tree) (8 Problems) ๐กโ
Must-Doโ
- Implement Trie (Prefix Tree) - Trie implementation
- Design Add and Search Words Data Structure - Trie with wildcards
- Word Search II - Trie + backtracking
- Longest Word in Dictionary - Trie traversal
Importantโ
- Replace Words - Trie prefix matching
- Implement Magic Dictionary - Trie with modifications
- Word Squares (Premium) - Trie backtracking
Nice to Haveโ
- Palindrome Pairs - Trie advanced
Key Patterns: Prefix matching, dictionary operations, auto-complete
1๏ธโฃ4๏ธโฃ Intervals (10 Problems) ๐ดโ
Must-Doโ
- Merge Intervals - Basic interval merge
- Insert Interval - Interval insertion
- Non-overlapping Intervals - Greedy intervals
- Meeting Rooms (Premium) - Simple overlap check
- Meeting Rooms II (Premium) - Min heap intervals
Importantโ
- Interval List Intersections - Two pointers
- Minimum Number of Arrows to Burst Balloons - Greedy overlap
- Employee Free Time (Premium) - Multiple intervals
- My Calendar I - Interval booking
Nice to Haveโ
- Partition Labels - Interval partitioning
Key Patterns: Sorting intervals, greedy approach, sweep line, overlap detection
1๏ธโฃ5๏ธโฃ Bit Manipulation (6 Problems) ๐ขโ
Must-Doโ
- Single Number - XOR basics
- Number of 1 Bits - Bit counting
- Counting Bits - DP + bits
- Missing Number - XOR trick
Importantโ
- Reverse Bits - Bit manipulation
- Sum of Two Integers - Bitwise addition
Key Patterns: XOR properties, bit masks, bitwise operations
๐ฏ Study Plan (10-12 Weeks)โ
Week 1-2: Arrays & Fundamentalsโ
- Arrays & Strings (25 problems)
- Two Pointers (12 problems)
- Hash Tables (12 problems)
- Goal: Master basic manipulation and pattern recognition
Week 3-4: Intermediate Patternsโ
- Sliding Window (10 problems)
- Binary Search (10 problems)
- Stack & Queue (10 problems)
- Bit Manipulation (6 problems)
- Goal: Learn optimization techniques
Week 5-6: Data Structuresโ
- Linked Lists (10 problems)
- Trees & BST (15 problems)
- Heaps (12 problems)
- Goal: Master tree/graph traversals
Week 7-8: Advanced Topicsโ
- Graphs (12 problems)
- Trie (8 problems)
- Intervals (10 problems)
- Goal: Learn complex data structures
Week 9-10: Dynamic Programmingโ
- Dynamic Programming (22 problems - focus on 15)
- Backtracking (8 problems)
- Goal: Master complex algorithmic thinking
Week 11-12: Consolidationโ
- Remaining DP problems
- Review all Top K/Kth problems
- Mock interviews
- Revision of difficult problems
- Goal: Speed, accuracy, and confidence
๐ก Pro Tips for Successโ
1. Pattern Recognition Over Memorizationโ
- Understand WHY a solution works
- Identify similar problems by pattern
- Build a mental catalog of techniques
2. Master "Top K" and "Kth Largest/Smallest" Problemsโ
- These are extremely common in interviews
- Use heap (priority queue) as first instinct
- Know when to use min-heap vs max-heap
- Practice quick-select for O(n) average case
3. Trie Problems Are Goldโ
- Less common but HIGH impact when asked
- Master the basic implementation first
- Understand prefix vs suffix operations
- Combine with backtracking for harder problems
4. Interval Problems Have Patternsโ
- Sort by start time (usually)
- Use greedy approach (often)
- Think about sweep line algorithm
- Min heap for overlapping intervals
5. Time Complexity Firstโ
- Always analyze brute force first
- Identify bottlenecks
- Optimize step by step
6. Practice Articulationโ
- Explain your thought process aloud
- Practice with timer (45 minutes per problem)
- Use mock interviews
7. Quality Over Quantityโ
- Solve each problem 2-3 times over weeks
- Understand all edge cases
- Can you solve it in a different way?
8. Company-Specific Focusโ
- FAANG: Heavy on DP, graphs, Top K problems
- Microsoft/Amazon: Trees, intervals, system design
- Google: DP, graphs, complex problems
- Startups: More practical, API design
๐ Difficulty Distributionโ
| Difficulty | Count | % of Total |
|---|---|---|
| Easy | 45 | 25% |
| Medium | 110 | 61% |
| Hard | 25 | 14% |
Recommendation:
- Master all Easy + Medium = 86% coverage
- Hard problems give you the edge for senior roles
๐ Resourcesโ
Practice Platformsโ
- LeetCode - Primary platform
- NeetCode - Video explanations for most problems
- AlgoExpert - Structured curriculum
- Blind 75 - Essential subset
Pattern Learningโ
- 14 Patterns to Ace Any Coding Interview
- Grokking the Coding Interview
- Tech Interview Handbook
- Sean Prashad's LeetCode Patterns
Video Explanationsโ
- NeetCode YouTube - Best explanations for most problems
- Back To Back SWE - Deep dives
- Kevin Naughton Jr. - Quick solutions
- Nick White - Live coding
- Abdul Bari - Algorithm concepts
Cheat Sheets & Referencesโ
- BigO Cheat Sheet
- VisuAlgo - Algorithm visualizations
- Data Structure Visualizations
- LeetCode Patterns
โก Quick Reference: Time Complexitiesโ
Common Data Structure Operationsโ
| Data Structure | Access | Search | Insert | Delete | Space |
|---|---|---|---|---|---|
| Array | O(1) | O(n) | O(n) | O(n) | O(n) |
| Stack | O(n) | O(n) | O(1) | O(1) | O(n) |
| Queue | O(n) | O(n) | O(1) | O(1) | O(n) |
| Singly-Linked List | O(n) | O(n) | O(1) | O(1) | O(n) |
| Doubly-Linked List | O(n) | O(n) | O(1) | O(1) | O(n) |
| Hash Table | - | O(1)* | O(1)* | O(1)* | O(n) |
| Binary Search Tree | O(log n)* | O(log n)* | O(log n)* | O(log n)* | O(n) |
| Heap (Min/Max) | O(1) | O(n) | O(log n) | O(log n) | O(n) |
| Trie | O(k) | O(k) | O(k) | O(k) | O(n*k) |
*Average case. Worst case may differ.
Common Algorithm Patternsโ
Pattern: Two Pointers
Time: O(n)
Space: O(1)
Use: Sorted arrays, linked lists, palindromes
Pattern: Sliding Window
Time: O(n)
Space: O(k) where k is window size
Use: Substring problems, arrays with conditions
Pattern: Binary Search
Time: O(log n)
Space: O(1)
Use: Sorted arrays, search space reduction
Pattern: DFS/BFS
Time: O(V + E)
Space: O(V)
Use: Trees, graphs, connected components
Pattern: Dynamic Programming (1D)
Time: O(n)
Space: O(n) or O(1) with optimization
Use: Linear sequences with optimal substructure
Pattern: Dynamic Programming (2D)
Time: O(n*m)
Space: O(n*m) or O(m) with optimization
Use: String problems, grid problems
Pattern: Heap (Top K)
Time: O(n log k)
Space: O(k)
Use: K largest/smallest, priority scheduling
Pattern: Union-Find
Time: O(ฮฑ(n)) โ O(1)
Space: O(n)
Use: Connected components, cycle detection
Pattern: Topological Sort
Time: O(V + E)
Space: O(V)
Use: Course scheduling, dependency resolution
Pattern: Trie
Time: O(k) where k is key length
Space: O(ALPHABET_SIZE * k * n)
Use: Prefix matching, autocomplete
๐ Interview Day Checklistโ
Day Before Interviewโ
- โ Review 5-10 easy problems (boost confidence)
- โ Practice explaining solutions aloud
- โ Review common patterns (two pointers, sliding window, etc.)
- โ Prepare questions to ask interviewer
- โ Get good sleep (8+ hours)
- โ Avoid learning new concepts
Interview Day Morningโ
- โ Light breakfast
- โ Review one medium problem you solved before
- โ Test your setup (internet, webcam, mic)
- โ Have pen and paper ready
- โ Keep water nearby
During Interviewโ
-
Listen Carefully (2 mins)
- Take notes while they explain
- Don't interrupt
- Ask clarifying questions
-
Clarify & Understand (3-5 mins)
- Restate the problem
- Ask about constraints (array size, value ranges)
- Ask about edge cases
- Confirm input/output format
- Ask about time/space requirements
-
Brainstorm & Communicate (5-7 mins)
- Start with brute force approach
- Explain time/space complexity
- Discuss optimizations
- Think aloud!
-
Code (20-25 mins)
- Start with function signature
- Use meaningful variable names
- Write clean, readable code
- Add comments for complex logic
- Think aloud while coding
-
Test (5-8 mins)
- Test with example from problem
- Test edge cases (empty, null, single element)
- Test large inputs mentally
- Fix bugs if found
-
Optimize (if time permits)
- Discuss better approaches
- Space optimization
- Time optimization
Example Clarifying Questionsโ
- "Can the input array be empty?"
- "Are there any duplicate values?"
- "What's the expected range of values?"
- "Should I optimize for time or space?"
- "Can I modify the input array?"
- "Is the array sorted?"
- "What should I return if no solution exists?"
๐ฅ Most Frequently Asked Problem Types (2024-2025)โ
Based on recent interview data:
1. Top K / Kth Largest/Smallest (๐ฅ๐ฅ๐ฅ)โ
- Appears in 30% of interviews
- Master heap solutions
- Know quick-select alternative
2. Sliding Window (๐ฅ๐ฅ๐ฅ)โ
- Appears in 25% of interviews
- String and array problems
- Fixed and variable window
3. Two Pointers (๐ฅ๐ฅ)โ
- Appears in 20% of interviews
- Usually combined with other patterns
- Very common in phone screens
4. Tree Traversals (๐ฅ๐ฅ๐ฅ)โ
- Appears in 35% of interviews
- BFS, DFS, inorder, preorder, postorder
- Almost guaranteed in onsite
5. Dynamic Programming (๐ฅ๐ฅ)โ
- Appears in 20% of senior interviews
- Less common in junior roles
- High impact if asked
6. Intervals (๐ฅ๐ฅ)โ
- Appears in 15% of interviews
- Very common at Amazon, Microsoft
- Master merge intervals pattern
7. Graph Problems (๐ฅ๐ฅ)โ
- Appears in 20% of interviews
- More common in onsite rounds
- BFS/DFS mastery required
8. Trie (๐ฅ)โ
- Appears in 5-10% of interviews
- High impact when asked
- Less competition if you know it
๐ Company-Specific Preferencesโ
Googleโ
Focus Areas:
- Complex DP problems
- Graph algorithms
- System design (for senior roles)
- Mathematical problems
Common Problems:
- Longest Increasing Subsequence
- Word Ladder
- Median of Two Sorted Arrays
- Trapping Rain Water
Amazonโ
Focus Areas:
- Trees and graphs
- Top K problems
- Interval problems
- Leadership principles
Common Problems:
- Number of Islands
- Merge Intervals
- Top K Frequent Elements
- LRU Cache
Meta (Facebook)โ
Focus Areas:
- Arrays and strings
- Trees and graphs
- Medium difficulty problems
- Product sense
Common Problems:
- Valid Palindrome
- Binary Tree Vertical Order Traversal
- Subarray Sum Equals K
- Clone Graph
Microsoftโ
Focus Areas:
- Trees
- Arrays
- Linked Lists
- Practical problems
Common Problems:
- Reverse Linked List
- Merge Two Sorted Lists
- Lowest Common Ancestor
- Word Search
Appleโ
Focus Areas:
- Arrays
- Strings
- Trees
- Design problems
Common Problems:
- Two Sum
- Longest Substring Without Repeating Characters
- Binary Tree Level Order Traversal
- Design problems
๐ Problem-Solving Framework (UMPIRE Method)โ
U - Understandโ
- What is the problem asking?
- What are the inputs and outputs?
- Can you restate the problem?
M - Matchโ
- What pattern does this match?
- Have you seen a similar problem?
- What data structure fits best?
P - Planโ
- What's your approach?
- What's the brute force solution?
- How can you optimize it?
I - Implementโ
- Write clean, readable code
- Use good variable names
- Add comments if needed
R - Reviewโ
- Does it work for all cases?
- Test with examples
- Check edge cases
E - Evaluateโ
- Time complexity?
- Space complexity?
- Can it be optimized further?
๐ฏ Final Priority List (If Short on Time)โ
If you only have 2-3 weeks, focus on these 50 problems:
Week 1 (20 problems)โ
- Two Sum
- Best Time to Buy and Sell Stock
- Contains Duplicate
- Valid Palindrome
- Reverse Linked List
- Merge Two Sorted Lists
- Binary Search
- Invert Binary Tree
- Maximum Depth of Binary Tree
- Valid Parentheses
- Climbing Stairs
- Coin Change
- Longest Increasing Subsequence
- Maximum Subarray
- 3Sum
- Container With Most Water
- Longest Substring Without Repeating Characters
- Number of Islands
- Clone Graph
- Course Schedule
Week 2 (20 problems)โ
- Product of Array Except Self
- Find Minimum in Rotated Sorted Array
- Search in Rotated Sorted Array
- Group Anagrams
- Top K Frequent Elements
- Binary Tree Level Order Traversal
- Validate Binary Search Tree
- Kth Smallest Element in a BST
- Lowest Common Ancestor of a BST
- Implement Trie
- Word Search
- Subsets
- Permutations
- Merge Intervals
- Insert Interval
- LRU Cache
- Serialize and Deserialize Binary Tree
- Word Ladder
- Alien Dictionary (if time)
- Merge K Sorted Lists
Week 3 (10 problems - Review + Hard)โ
- Kth Largest Element in an Array
- Find Median from Data Stream
- Meeting Rooms II
- Longest Consecutive Sequence
- Minimum Window Substring
- Trapping Rain Water
- Edit Distance
- Word Break
- House Robber
- Combination Sum
This covers the most frequently asked patterns!
๐ Success Metricsโ
Track your progress:
Beginner (0-2 months)โ
- โ Solve 50+ problems
- โ Understand basic patterns
- โ Can solve Easy problems in 20 mins
- โ Know time/space complexity basics
Intermediate (2-4 months)โ
- โ Solve 100+ problems